<template>
	<a-card>
		<app-check v-model="checked">测试复选框</app-check>
		<div class="mt-10">
			<a-button
				type="primary"
				@click="handleOpenMessageClick"
				>测试totast</a-button
			>
		</div>
	</a-card>
</template>

<script setup lang="ts">
import toast from '../toast/index'
import AppCheck from './checkbox.vue'

const handleOpenMessageClick = () => {
	// toast({message: 'sfasdfsdaga', duration: 3000})
	toast('我是一个测试toast')
}

const checked = ref(false)
</script>

<style lang="less" scoped></style>
